package com.dwxt.mall.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TrainHallExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TrainHallExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDistanceIsNull() {
            addCriterion("distance is null");
            return (Criteria) this;
        }

        public Criteria andDistanceIsNotNull() {
            addCriterion("distance is not null");
            return (Criteria) this;
        }

        public Criteria andDistanceEqualTo(String value) {
            addCriterion("distance =", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceNotEqualTo(String value) {
            addCriterion("distance <>", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceGreaterThan(String value) {
            addCriterion("distance >", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceGreaterThanOrEqualTo(String value) {
            addCriterion("distance >=", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceLessThan(String value) {
            addCriterion("distance <", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceLessThanOrEqualTo(String value) {
            addCriterion("distance <=", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceLike(String value) {
            addCriterion("distance like", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceNotLike(String value) {
            addCriterion("distance not like", value, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceIn(List<String> values) {
            addCriterion("distance in", values, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceNotIn(List<String> values) {
            addCriterion("distance not in", values, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceBetween(String value1, String value2) {
            addCriterion("distance between", value1, value2, "distance");
            return (Criteria) this;
        }

        public Criteria andDistanceNotBetween(String value1, String value2) {
            addCriterion("distance not between", value1, value2, "distance");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andWeekStartIsNull() {
            addCriterion("week_start is null");
            return (Criteria) this;
        }

        public Criteria andWeekStartIsNotNull() {
            addCriterion("week_start is not null");
            return (Criteria) this;
        }

        public Criteria andWeekStartEqualTo(String value) {
            addCriterion("week_start =", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartNotEqualTo(String value) {
            addCriterion("week_start <>", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartGreaterThan(String value) {
            addCriterion("week_start >", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartGreaterThanOrEqualTo(String value) {
            addCriterion("week_start >=", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartLessThan(String value) {
            addCriterion("week_start <", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartLessThanOrEqualTo(String value) {
            addCriterion("week_start <=", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartLike(String value) {
            addCriterion("week_start like", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartNotLike(String value) {
            addCriterion("week_start not like", value, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartIn(List<String> values) {
            addCriterion("week_start in", values, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartNotIn(List<String> values) {
            addCriterion("week_start not in", values, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartBetween(String value1, String value2) {
            addCriterion("week_start between", value1, value2, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekStartNotBetween(String value1, String value2) {
            addCriterion("week_start not between", value1, value2, "weekStart");
            return (Criteria) this;
        }

        public Criteria andWeekEndIsNull() {
            addCriterion("week_end is null");
            return (Criteria) this;
        }

        public Criteria andWeekEndIsNotNull() {
            addCriterion("week_end is not null");
            return (Criteria) this;
        }

        public Criteria andWeekEndEqualTo(String value) {
            addCriterion("week_end =", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndNotEqualTo(String value) {
            addCriterion("week_end <>", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndGreaterThan(String value) {
            addCriterion("week_end >", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndGreaterThanOrEqualTo(String value) {
            addCriterion("week_end >=", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndLessThan(String value) {
            addCriterion("week_end <", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndLessThanOrEqualTo(String value) {
            addCriterion("week_end <=", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndLike(String value) {
            addCriterion("week_end like", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndNotLike(String value) {
            addCriterion("week_end not like", value, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndIn(List<String> values) {
            addCriterion("week_end in", values, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndNotIn(List<String> values) {
            addCriterion("week_end not in", values, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndBetween(String value1, String value2) {
            addCriterion("week_end between", value1, value2, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andWeekEndNotBetween(String value1, String value2) {
            addCriterion("week_end not between", value1, value2, "weekEnd");
            return (Criteria) this;
        }

        public Criteria andDayStartIsNull() {
            addCriterion("day_start is null");
            return (Criteria) this;
        }

        public Criteria andDayStartIsNotNull() {
            addCriterion("day_start is not null");
            return (Criteria) this;
        }

        public Criteria andDayStartEqualTo(String value) {
            addCriterion("day_start =", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartNotEqualTo(String value) {
            addCriterion("day_start <>", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartGreaterThan(String value) {
            addCriterion("day_start >", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartGreaterThanOrEqualTo(String value) {
            addCriterion("day_start >=", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartLessThan(String value) {
            addCriterion("day_start <", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartLessThanOrEqualTo(String value) {
            addCriterion("day_start <=", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartLike(String value) {
            addCriterion("day_start like", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartNotLike(String value) {
            addCriterion("day_start not like", value, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartIn(List<String> values) {
            addCriterion("day_start in", values, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartNotIn(List<String> values) {
            addCriterion("day_start not in", values, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartBetween(String value1, String value2) {
            addCriterion("day_start between", value1, value2, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayStartNotBetween(String value1, String value2) {
            addCriterion("day_start not between", value1, value2, "dayStart");
            return (Criteria) this;
        }

        public Criteria andDayEndIsNull() {
            addCriterion("day_end is null");
            return (Criteria) this;
        }

        public Criteria andDayEndIsNotNull() {
            addCriterion("day_end is not null");
            return (Criteria) this;
        }

        public Criteria andDayEndEqualTo(String value) {
            addCriterion("day_end =", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndNotEqualTo(String value) {
            addCriterion("day_end <>", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndGreaterThan(String value) {
            addCriterion("day_end >", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndGreaterThanOrEqualTo(String value) {
            addCriterion("day_end >=", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndLessThan(String value) {
            addCriterion("day_end <", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndLessThanOrEqualTo(String value) {
            addCriterion("day_end <=", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndLike(String value) {
            addCriterion("day_end like", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndNotLike(String value) {
            addCriterion("day_end not like", value, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndIn(List<String> values) {
            addCriterion("day_end in", values, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndNotIn(List<String> values) {
            addCriterion("day_end not in", values, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndBetween(String value1, String value2) {
            addCriterion("day_end between", value1, value2, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andDayEndNotBetween(String value1, String value2) {
            addCriterion("day_end not between", value1, value2, "dayEnd");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNull() {
            addCriterion("is_effective is null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNotNull() {
            addCriterion("is_effective is not null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveEqualTo(Integer value) {
            addCriterion("is_effective =", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotEqualTo(Integer value) {
            addCriterion("is_effective <>", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThan(Integer value) {
            addCriterion("is_effective >", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_effective >=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThan(Integer value) {
            addCriterion("is_effective <", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThanOrEqualTo(Integer value) {
            addCriterion("is_effective <=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIn(List<Integer> values) {
            addCriterion("is_effective in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotIn(List<Integer> values) {
            addCriterion("is_effective not in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveBetween(Integer value1, Integer value2) {
            addCriterion("is_effective between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotBetween(Integer value1, Integer value2) {
            addCriterion("is_effective not between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNull() {
            addCriterion("priority is null");
            return (Criteria) this;
        }

        public Criteria andPriorityIsNotNull() {
            addCriterion("priority is not null");
            return (Criteria) this;
        }

        public Criteria andPriorityEqualTo(Integer value) {
            addCriterion("priority =", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotEqualTo(Integer value) {
            addCriterion("priority <>", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThan(Integer value) {
            addCriterion("priority >", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityGreaterThanOrEqualTo(Integer value) {
            addCriterion("priority >=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThan(Integer value) {
            addCriterion("priority <", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityLessThanOrEqualTo(Integer value) {
            addCriterion("priority <=", value, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityIn(List<Integer> values) {
            addCriterion("priority in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotIn(List<Integer> values) {
            addCriterion("priority not in", values, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityBetween(Integer value1, Integer value2) {
            addCriterion("priority between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andPriorityNotBetween(Integer value1, Integer value2) {
            addCriterion("priority not between", value1, value2, "priority");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlIsNull() {
            addCriterion("cover_img_url is null");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlIsNotNull() {
            addCriterion("cover_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlEqualTo(String value) {
            addCriterion("cover_img_url =", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlNotEqualTo(String value) {
            addCriterion("cover_img_url <>", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlGreaterThan(String value) {
            addCriterion("cover_img_url >", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("cover_img_url >=", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlLessThan(String value) {
            addCriterion("cover_img_url <", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlLessThanOrEqualTo(String value) {
            addCriterion("cover_img_url <=", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlLike(String value) {
            addCriterion("cover_img_url like", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlNotLike(String value) {
            addCriterion("cover_img_url not like", value, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlIn(List<String> values) {
            addCriterion("cover_img_url in", values, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlNotIn(List<String> values) {
            addCriterion("cover_img_url not in", values, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlBetween(String value1, String value2) {
            addCriterion("cover_img_url between", value1, value2, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCoverImgUrlNotBetween(String value1, String value2) {
            addCriterion("cover_img_url not between", value1, value2, "coverImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlIsNull() {
            addCriterion("carousel_img_url is null");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlIsNotNull() {
            addCriterion("carousel_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlEqualTo(String value) {
            addCriterion("carousel_img_url =", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlNotEqualTo(String value) {
            addCriterion("carousel_img_url <>", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlGreaterThan(String value) {
            addCriterion("carousel_img_url >", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("carousel_img_url >=", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlLessThan(String value) {
            addCriterion("carousel_img_url <", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlLessThanOrEqualTo(String value) {
            addCriterion("carousel_img_url <=", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlLike(String value) {
            addCriterion("carousel_img_url like", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlNotLike(String value) {
            addCriterion("carousel_img_url not like", value, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlIn(List<String> values) {
            addCriterion("carousel_img_url in", values, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlNotIn(List<String> values) {
            addCriterion("carousel_img_url not in", values, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlBetween(String value1, String value2) {
            addCriterion("carousel_img_url between", value1, value2, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andCarouselImgUrlNotBetween(String value1, String value2) {
            addCriterion("carousel_img_url not between", value1, value2, "carouselImgUrl");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(String value) {
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(String value) {
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(String value) {
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(String value) {
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(String value) {
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLike(String value) {
            addCriterion("latitude like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotLike(String value) {
            addCriterion("latitude not like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<String> values) {
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<String> values) {
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(String value1, String value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(String value1, String value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(String value) {
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(String value) {
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(String value) {
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(String value) {
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(String value) {
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLike(String value) {
            addCriterion("longitude like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotLike(String value) {
            addCriterion("longitude not like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<String> values) {
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<String> values) {
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(String value1, String value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(String value1, String value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}